package com.wanxi.domain.user;

public class UserModel {
    //用户邮箱
    private String email;

    //用户爱好
    private String hobby;

    //用户生日
    private String birthday;

    //用户输入的验证码
    private String code;

    //用户id
    private Integer id;
    //用户名
    private String username;
    //用户密码
    private String password;

    //用户创建时间
    private String creatTime;

    //用户更新时间
    private String updateTime;

    //用户性别
    private String sex;

    //用户地址
    private String address;

    //用户是否可用
    private Integer enable;

    //用户电话号码
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    //存放于session中的验证码
    private String sessionCode;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getSessionCode() {
        return sessionCode;
    }

    public void setSessionCode(String sessionCode) {
        this.sessionCode = sessionCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "email='" + email + '\'' +
                ", hobby='" + hobby + '\'' +
                ", birthday='" + birthday + '\'' +
                ", code='" + code + '\'' +
                ", id=" + id +
                ", userName='" + username + '\'' +
                ", password='" + password + '\'' +
                ", creatTime='" + creatTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                ", enable=" + enable +
                ", phone='" + phone + '\'' +
                ", sessionCode='" + sessionCode + '\'' +
                '}';
    }
}
